package com.ebei.platform.service;

import java.util.List;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.ebei.platform.entity.User;
import com.ebei.platform.vo.UserParams;
import com.ebei.platform.vo.UserPassword;

/**
 * todo 测试用户服务接口
 *
 * @author crazypenguin
 * @version 1.0
 * @created 2018/4/22
 */

public interface IUserService extends IService<User> {

	boolean deleteAll();

	public List<User> selectListBySQL();
	
	public User selectByAccount(String account);
	
	public int insertUser(User user, User operator);
	
	public int updateUser(User user, User operator);
	
	public int changePwd(UserPassword userPassword, User operator);
	
	public Page<User> selectPage(Page<User> page, UserParams params);
}